3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
The relationship between file objects and storage objects is similar to that between view objects and draw context objects. A draw context object receives the raw data needed to draw an image on a particular window system, and the associated view object is an abstraction in which you perform all drawing. Similarly, a storage object receives the raw data read from or written to a particular piece of storage, and the associated file object is an abstraction in which you perform all I/O operations. View objects maintain information about the current state of the drawing, and file objects maintain information about the current state of I/O operations. Just as you must perform all drawing in a rendering loop, between calls to Q3View_StartRendering and Q3View_EndRendering , you must perform all file writing in a writing loop, between calls to Q3View_StartWriting and Q3View_EndWriting . See "Writing Data to a File Object" for more information on writing 3DMF data.
A QuickDraw 3D file object is of type TQ3FileObject , which is a type of shared object. QuickDraw 3D currently provides no subclasses of the TQ3FileObject type.
Previous | QD3D Book | Overview | Chapter Contents | Next |